import I18n from '@quick-toolkit/i18n';
import { FeatureI18nBuilder } from 'src/feature-antd';
import antd from 'antd/es/locale/zh_CN';

const SITE_NAME = '慧聚可视化资产管理系统';

export const i18n = new I18n({
  label: '简体中文',
  code: 'zh-cn',
  antd,
  siteName: SITE_NAME,
  pages: {
    HOME_DASHBOARD_INDEX: '面板 - 管理系统 | ' + SITE_NAME,
  },
});

export const I18nContext = FeatureI18nBuilder(i18n);
